<template>
    <!-- 主体导航组件 -->
    <div class="nav">
        <div class="nav-1">
            <img src="../../public/log_img/0yuan.webp" alt="" style="width: 200px;float: left;margin-right: 15px;">
            <input type="text" placeholder="邀请函" class="inp"><button class="btn">🔍</button>
        </div>
        <div class="nav-2">
            <CalendarView />
        </div>
    </div>
</template>

<script setup lang="ts">
import CalendarView from './CalendarView.vue';

</script>

<style scoped>
.nav {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
}

.nav-1 {
    width: 55%;
}

.inp {
    border: none;
    width: 150px;
    height: 40px;
    border-radius: 15px 0 0 15px;
    outline: none;
    text-indent: 15px;
}

::placeholder {
    font-size: 15px;
    text-indent: 15px;
}

.btn {
    border: none;
    width: 50px;
    height: 40px;
    border-radius: 0 15px 15px 0;
}

.nav-2 {
    width: 25%;
}</style>